package com.arcaneshift.servlet.util.network;

import com.common.servlet.util.HTTPProtocolBase;


public class HTTPProtocol extends HTTPProtocolBase {
	
	// READ
	public static final String USERNAME = "Username";
	public static final String PASSWORD = "Password";
	public static final String SESSION = "Session";
	public static final String USER_TYPE = "UserType";
	public static final String USER = "User";
	public static final String DECK = "Deck";
	public static final String GAME = "Game";
	public static final String DOMAIN = "Domain";
	public static final String ARTICLE = "Article";
	public static final String TAG = "Tag";
	public static final String CARD = "Card";
	public static final String PLAYER = "Player";
	
	public static final String ATTRIBUTE_DOMAIN = "domain";
	public static final String ATTRIBUTE_TITLE = "title";
	public static final String ATTRIBUTE_ELEMENT = "element";
	public static final String ATTRIBUTE_TYPE = "type";
	public static final String ATTRIBUTE_PLAYER = "player";
	public static final String ATTRIBUTE_DECK_SIZE = "deckSize";
	public static final String ATTRIBUTE_SIZE = "size";
	public static final String ATTRIBUTE_X_POSITION = "xPosition";
	public static final String ATTRIBUTE_Y_POSITION = "yPosition";
	
	// WRITE
	public static final String SESSION_TAG = "<Session";
	public static final String GAME_TAG = "<Game";
	public static final String CHANNEL_TAG = "<Channel";
	public static final String CARD_TAG = "<Card";
	public static final String SQUARE_TAG = "<Square";
	public static final String QUEUE_PLAYER_TAG = "<QueuePlayer";
	public static final String PLAYER_TAG = "<Player";
	public static final String PHASE_TAG = "<Phase";
	
	public static final String ARENA_TAG = "<Arena";
	public static final String ARENA_END_TAG = "</Arena>";
	
	public static final String TERRAN_TAG = "<Terran";
	public static final String TERRAN_END_TAG = "</Terran>";
	
	//FIXME Major priority: Column has a closed tag ?
	public static final String COLUMN_TAG = "<Column>";
	public static final String COLUMN_END_TAG = "</Column>";
	
	public static final String HAND_TAG = "<Hand";
	public static final String HAND_END_TAG = "</Hand>";
	
	public static final String STORY_TAG = "<Story";
	public static final String STORY_END_TAG = "</Story>";
	
	public static final String USER_ID_ATTRIBUTE = "userId=\"";
	public static final String USER_TYPE_ATTRIBUTE = "userType=\"";
	public static final String SESSION_ID_ATTRIBUTE = "sessionId=\"";
	public static final String TIME_ATTRIBUTE = "time=\"";
	public static final String TITLE_ATTRIBUTE = "title=\"";
	public static final String DOMAIN_ATTRIBUTE = "domain=\"";
	public static final String PLAYER_ATTRIBUTE = "player=\"";
	public static final String TYPE_ATTRIBUTE = "type=\"";
	public static final String DECK_SIZE_ATTRIBUTE = "deckSize=\"";
	public static final String SIZE_ATTRIBUTE = "size=\"";
	
	private HTTPProtocol() {}
}
